export const getHandledTableColumnsFn = (data) => {
  let { deleteAction, source, extendFileds } = data
  let columns = _.cloneDeep(source)
  if (deleteAction) { columns.pop() }
  let result = [
    ...columns,
    ...extendFileds
  ]
  return result
}
